package com.atguigu.product.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Product {
    //商品id
    private Long id;
    //商品单价
    private BigDecimal price;
    //商品名称
    private String productName;
    //商品数量
    private int num;
}
